FROM python:3.9-slim
WORKDIR /app
COPY backend/requirements.txt .
RUN apt-get update && apt-get install -y poppler-utils
RUN pip install --no-cache-dir -r requirements.txt
COPY ./backend/app /app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]